home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d14
/
callback.arc
/
CB.TXT
< prev
next >
Wrap
Text File
|
1990-11-15
|
2KB
|
72 lines
About CB.DLL
Note: This DLL works *only* with ToolBook 1.0. NO WARRANTY or Support!
======================================================================
Function TranslateDLLMessage(<sysWindowHandle>, <WM_number>, <Msg>)
Description:
Forces OpenScript to send an OpenScript message to the
current page when a Windows Message is received by the
ToolBook main window.
To link this function, insert the following statement in
the linkdll structure:
int TranslateDLLMessage(WORD,WORD,STRING)
Parameters:
<sysWindowHandle> Always sysWindowHandle (handle of the
ToolBook main window for the current instance)
<WM_number> The Windows message number (see Windows.h)
<Msg> The name of the OpenScript message to send to the
current page when <WM_number> is received by the ToolBook
window.
Returns:
Undetermined
Example:
get TranslateDLLMessage(sysWindowHandle,3,"WM_MOVE")
===================================================================
Function UntranslateDLLMessage(<sysWindowHandle>, <WM_number>)
Description:
Cancels a message translation set up with TranslateDLLMessage.
To link this function, insert the following statement
in the linkdll structure:
int UnTranslateDLLMessage(WORD,WORD)
Parameters:
<sysWindowHandle> Always sysWindowHandle (handle of the
ToolBook main window for the current instance)
<WM_number> The Windows message number (see Windows.h)
Returns:
Undetermined
Example:
get UnTranslateDLLMessage(sysWindowHandle,3) -- "WM_MOVE"
===================================================================
Function UntranslateAllDLLMessages(<sysWindowHandle>)
Description:
Cancels all message translations set up with TranslateDLLMessage.
To link this function, insert the following statement
in the linkdll structure:
int UnTranslateAllDLLMessages(WORD)
Parameters:
<sysWindowHandle> Always sysWindowHandle (handle of the
ToolBook main window for the current instance)
Returns:
Undetermined
Example:
get untranslateAllDLLMessages(sysWindowHandle)